dab25aa1c31217abffea24403dd70d12f2e7f880,WordPressUtils/src/main/java/org/wordpress/android/util/helpers/LocationHelper.java,GetLastLocation,run,#,89
Before Change
// if there are both values use the latest one
if (gps_loc != null && net_loc != null) {
if (gps_loc.getTime() > net_loc.getTime())
locationResult.gotLocation(gps_loc);
else
locationResult.gotLocation(net_loc);
return;
After Change
// if there are both values use the latest one
if (gps_loc != null && net_loc != null) {
if (gps_loc.getTime() > net_loc.getTime()) {
mLocationResult.gotLocation(gps_loc);
} else {
mLocationResult.gotLocation(net_loc);
}